//==============================================================================
// barracks_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
define FLAGN_B
{
   set hotspot
   {
      version
      {
         Visual Building Flag Barracks
      }
   }  
}

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         Visual Building VineB
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Shield
{
   TechLogic Copper shields/Bronze shields/Iron shields
   set hotspot
   {
      version
      {
         Visual Attachments G Shield wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments G Shield iron
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments G Shield bronze
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define Sceptor
{
   set hotspot
   {
      version
      {
         Visual Attachments E Scepter
      }
   }  
}

//==============================================================================
define Horses
{
   set hotspot
   {
      version
      {
         Visual Building Beta N Stable Horses Beta
      }
   }  
}
//==============================================================================
define Grass
{
	set hotspot
	{
		version
		{
		   Visual World A Grass A
		}
		version
		{
		   Visual World A Grass B
		}
		version
		{
		   Visual World A Grass C
		}
		version
		{
		   Visual World A Grass D
		}
		version
		{
		   Visual World A Grass E
		}
		version
		{
		   Visual World A Grass F
		}
		version
		{
		   Visual World A Bush B
		}
		version
		{
		   Visual World A Bush A
		}
	}  
}
//==============================================================================
anim idle
{
//---------------------------------Norse---------------------------------------//
       //---------------------------Age 2--------------------------------//   
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta N Stable
replacetexture building g shared01 2 map/building g shared01 2 map fence
connect Rightfoot Grass hotspot                         
connect Leftfoot Grass hotspot
connect Lefthand Grass hotspot
connect Leftleg Grass hotspot			         
connect Rightleg Grass hotspot
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
     //---------------------------Age 3--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta N Stable
replacetexture building g shared01 2 map/building g shared01 2 map fence
connect Rightfoot Grass hotspot                         
connect Leftfoot Grass hotspot
connect Lefthand Grass hotspot
connect Leftleg Grass hotspot			         
connect Rightleg Grass hotspot
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   //---------------------------Age 4--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta N Stable_OlympicAge
replacetexture building g shared01 2 map/building g shared01 2 map fence
connect Rightfoot Grass hotspot                         
connect Leftfoot Grass hotspot
connect Lefthand Grass hotspot
connect Leftleg Grass hotspot			         
connect Rightleg Grass hotspot
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
//---------------------------------Norse---------------------------------------//
       //---------------------------Age 2--------------------------------//   
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building Beta N Stable_Death
replacetexture building g shared01 2 map/building g shared01 2 map fence
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
     //---------------------------Age 3--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building Beta N Stable_Death
replacetexture building g shared01 2 map/building g shared01 2 map fence
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   //---------------------------Age 4--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building Beta N Stable_OlympicAgeDeath
replacetexture building g shared01 2 map/building g shared01 2 map fence
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}




